package com.sjgtw.cloud.client.oauth;

public class OauthClientConfig {

	String baseUrl;
	String clientId;
	String clientSecret;
	String redirectUri;
	String endSessionEndpoint;
	String endSessionRedirectUri;
	String errorEndpoint;
	
	public OauthClientConfig() {
	}

	public String getBaseUrl() {
		return baseUrl;
	}

	public void setBaseUrl(String baseUrl) {
		this.baseUrl = baseUrl;
	}

	public String getClientId() {
		return clientId;
	}

	public void setClientId(String clientId) {
		this.clientId = clientId;
	}

	public String getClientSecret() {
		return clientSecret;
	}

	public void setClientSecret(String clientSecret) {
		this.clientSecret = clientSecret;
	}

	public String getRedirectUri() {
		return redirectUri;
	}

	public void setRedirectUri(String redirectUri) {
		this.redirectUri = redirectUri;
	}

	public String getEndSessionEndpoint() {
		return endSessionEndpoint;
	}

	public void setEndSessionEndpoint(String endSessionEndpoint) {
		this.endSessionEndpoint = endSessionEndpoint;
	}

	public String getEndSessionRedirectUri() {
		return endSessionRedirectUri;
	}

	public void setEndSessionRedirectUri(String endSessionRedirectUri) {
		this.endSessionRedirectUri = endSessionRedirectUri;
	}

	public String getErrorEndpoint() {
		return errorEndpoint;
	}

	public void setErrorEndpoint(String errorEndpoint) {
		this.errorEndpoint = errorEndpoint;
	}


	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("OauthClientConfig [baseUrl=");
		builder.append(baseUrl);
		builder.append(", clientId=");
		builder.append(clientId);
		builder.append(", clientSecret=");
		builder.append(clientSecret);
		builder.append(", redirectUri=");
		builder.append(redirectUri);
		builder.append(", endSessionEndpoint=");
		builder.append(endSessionEndpoint);
		builder.append(", endSessionRedirectUri=");
		builder.append(endSessionRedirectUri);
		builder.append(", errorEndpoint=");
		builder.append(errorEndpoint);
		builder.append("]");
		return builder.toString();
	}

}
